{% extends "base.html" %}
{% block title %}
	{% if title %}
	{{ title }}
	{% else %}
	MARSGGBO的博客
	{% endif %}
{% endblock %}

{% block page_content %}
	<div class="page-header">
		<div class="container">
			{% for message in get_flashed_messages() %}
				<div class="alert alert-warning">
					<button type="button" class="close" data-dismiss="alert">&times;</button>
					{{ message}}
				</div>
			{% endfor %}
		</div>
		<form method="post",action="",name="login">
			{{ form.hidden_tag() }}
			{{ form.email.label}}{{ form.email(class='form-control',type="email")}}

			{{ form.password.label }}{{ form.password(class='form-control',type='password') }}

			{{ form.remember_me.label}}{{ form.remember_me(type="checkbox") }}
			{{ form.submit(class='btn btn-info form-control') }}
		</form>
	</div>
{% endblock %}